<template>
    <h1>{{ name }}</h1>
    <p>{{ age }}</p>
</template>

<script>
export default{
    name:'Home',
    props:{
        name:String,
        age:Number
    },
    data(){
        return{
            // name:'哈喽啊',
            // age:20
        }
    }
}
</script>